package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程资源管理对象 classresourse
 * 
 * @author ruoyi
 * @date 2024-05-30
 */
public class Classresourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资源名称 */
    @Excel(name = "资源名称")
    private String classresourseName;

    /** 依赖课程 */
    @Excel(name = "依赖课程")
    private String classresourseAffiliation;

    /** 资源编号 */
    private Integer classresourseNumber;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private String classresourseType;

    public void setClassresourseName(String classresourseName) 
    {
        this.classresourseName = classresourseName;
    }

    public String getClassresourseName() 
    {
        return classresourseName;
    }
    public void setClassresourseAffiliation(String classresourseAffiliation) 
    {
        this.classresourseAffiliation = classresourseAffiliation;
    }

    public String getClassresourseAffiliation() 
    {
        return classresourseAffiliation;
    }
    public void setClassresourseNumber(Integer classresourseNumber) 
    {
        this.classresourseNumber = classresourseNumber;
    }

    public Integer getClassresourseNumber() 
    {
        return classresourseNumber;
    }
    public void setClassresourseType(String classresourseType) 
    {
        this.classresourseType = classresourseType;
    }

    public String getClassresourseType() 
    {
        return classresourseType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classresourseName", getClassresourseName())
            .append("classresourseAffiliation", getClassresourseAffiliation())
            .append("classresourseNumber", getClassresourseNumber())
            .append("classresourseType", getClassresourseType())
            .toString();
    }
}
